﻿<%@ Page Title="" Language="C#" MasterPageFile="~/templete/UserCenter_inner.master"
    AutoEventWireup="true" CodeFile="UC_Index.aspx.cs" Inherits="Member_UC_Index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph_Head" runat="Server">
    <script src="../templete/JS/weibo.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_Content" runat="Server">
    <div id="contents" class="fl">
        <div class="new-box-gray wb-box-gray bgc-lightblue fl">
            <div class="con">
                <h3>
                    最新微博 <span>Latest Weibo</span></h3>
                <asp:ScriptManager ID="ScriptManager_uc_index" runat="server">
                </asp:ScriptManager>
                <asp:UpdatePanel ID="UpdatePanel_uc_index" runat="server">
                    <ContentTemplate>
                        <asp:Timer runat="server" ID="Timer_uc_index" OnTick="Timer_uc_index_Tick">
                        </asp:Timer>
                        <ul id="slider">
                            <asp:Repeater ID="Repeater_WeiboList" runat="server">
                                <ItemTemplate>
                                    <li>
                                        <div class="itemt">
                                            <div class="twit_item">
                                                <div class="wb_item_pic">
                                                    <a href="http://t.sina.com.cn/<%#DataBinder.Eval(Container.DataItem, "user_id")%>" target="_blank">
                                                        <img title="<%#DataBinder.Eval(Container.DataItem, "screen_name")%>" src="<%#DataBinder.Eval(Container.DataItem, "profile_image_url")%>"></a></div>
                                                <div class="wb_item_content">
                                                    <a href="http://t.sina.com.cn/<%#DataBinder.Eval(Container.DataItem, "user_id")%>" target="_blank" title="<%#DataBinder.Eval(Container.DataItem, "screen_name")%>">
                                                        <%#DataBinder.Eval(Container.DataItem, "screen_name")%></a>：<%#DataBinder.Eval(Container.DataItem, "text")%><div class="twit_item_time"><%#DataBinder.Eval(Container.DataItem, "created_at")%></div>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <script type="text/javascript">
                    new slider({ id: 'slider', auto: 4 })
                </script>
            </div>
        </div>
        <div class="new-box-gray fl" style="margin-left: 14px;">
            <div class="con">
                <h3>
                    最新新闻 <span>Latest News</span></h3>
                <ul>
                    <asp:Repeater ID="Repeater_NewsList" runat="server">
                         <ItemTemplate>
                    <li><span class="ptime"><%#DataBinder.Eval(Container.DataItem, "College")%> <%#String.Format("[{0:MM-dd}]",DataBinder.Eval(Container.DataItem, "PostTime"))%></span><br />
                        <a href="../NewsReading.aspx?ID=<%#DataBinder.Eval(Container.DataItem, "NewsID")%>" target="_blank"> <%#DataBinder.Eval(Container.DataItem, "title")%></a></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
    </div>
</asp:Content>
